<div class="container">

<body>
    <h2>Digital Content</h2>    
		
<div class="row">


	<div class="col-lg-12">
	<hr>
		<h2>Digital contents</h2>
		<div class="table-responsive">
			<table class="table table-bordered table-hover table-striped">
				<thead>
					<tr>
						<th>category_id</th>
						<th>name_en</th>
						<th>name_ar</th>
						
						
						
					</tr>
				</thead>
				<tbody>
			
			    <?php
				
                 foreach( $categories  as $category )  {
			       // echo $digitalcontent->digital_content_id;
				?> 
				
				
					<tr class="active">
					    <td><?php if (isset($category->category_id)) echo htmlspecialchars($category->category_id, ENT_QUOTES, 'UTF-8'); ?></td>
						<td><?php if (isset($category->name_en)) echo htmlspecialchars($category->name_en, ENT_QUOTES, 'UTF-8'); ?></td>
		    		    <td><?php if (isset($category->name_ar)) echo htmlspecialchars($category->name_ar, ENT_QUOTES, 'UTF-8'); ?></td>
		    		 </tr>
					
			<?php
			}
			
			?>
				</tbody>
			</table>
		</div>
	</div>

</div>
	</body>
   
</div>
